@import "var";
a:focus{
  text-decoration: none;
}
.nav_scroll {
  position: fixed;
  width: 100%;
  margin: 0;
  left: 0;
  top: 0;
}
#main-container {
  margin-top: 15px;
  min-height: 570px;
}
@f:#fff;
@438:#4385f5;
@black:#1f1f1f;
@v5Bord:#4b4949;
.flex{
  display: flex;
  align-items: center;
  justify-content: center;
}
//新版V5主题样式新增于2015-5-23 by kingJ
input::-webkit-input-placeholder { /* WebKit browsers */
  color: #5e5b5b;
  font-size: .7rem;
}

input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #5e5b5b;
  font-size: .7rem;
}

input::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #5e5b5b;
  font-size: .7rem;
}

input:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #5e5b5b;
  font-size: .7rem;
}
.filter(@time){
  transition: all @time ease;
  -webkit-transition: all @time ease;
  -moz-transition: all @time ease;
  -o-transition: all @time ease;
}
.v5Nav{
  display: flex;
  height: 65px;
  .v5Logo{
    padding: 0 40px;
    background-color: @primary-color;
    .flex;
  }
  .v5Bar{
    background-color: @black;
    flex: 1;
    display: flex;
    justify-content: space-between;
    //导航栏
    .navBar{
      padding-left: 50px;
      .navUl{
        list-style: none;
        display: flex;
        margin: 0;
        height: 65px;
        li{
          height: 100%;
        }
        .active{
          a{
            color: @primary-color;
          }
        }
        li{
          a{
            color: @f;
            font-weight: 600;
            outline: none;
          }
          .linkOut{
            height: 100%;
            padding: 0 20px;
            .flex;
            font-size: 15px;
            .filter(.3s);
            i{
              margin-right: 7px;
            }
            &:hover{
              transform: rotateX(360deg);
              -webkit-transform: rotateX(360deg);
              color: @primary-color;
            }
          }
        }
        .navMore{
          .dpMenu{
            left: 0;
            white-space:nowrap;
            background-color: transparent;
            li{
              display: inline-block;
              background-color: @primary-color;
              margin-left: -5px;
              &:hover{
                background-color: @black;
                a{
                  color: @primary-color;
                }
              }
              &:first-child{
                margin: 0;
              }
              a{
                padding:15px;
                display: inline-block;
                color: @black;
              }
            }
          }
          &:hover{
            .linkOut{
              background-color: @primary-color;
              color: @f;
              transform: none;
            }
          }
        }
      }
    }
    //搜索和按钮
    .navInfo{
      display: flex;
      align-items: center;
      .search{
        .flex;
        position: relative;
        padding: 0 20px;
        .input{
          border: 2px solid @v5Bord;
          background-color: transparent;
          border-radius: 20px;
          padding: 5px 10px 5px 30px;
          outline: none;
          color: @f;
        }
        a{
          left: 30px;
          color: #5e5b5b;
          font-size: 16px;
          position: absolute;
          top:8px;
        }
      }
      .cmWrap{
        height: 65px;
        display: flex;
        cursor: pointer;
        margin-right: 20px;
        align-items: center;
        .dpMenu{
          right: -20px;
          padding: 5px 0;
          li{
            padding: 5px 30px;
            .filter(.3s);
            &:hover{
              background-color: @black;
              a{
                color: @primary-color!important;
              }
            }
          }
          &:before{
            content: '';
            border-top:none;
            border-right:10px solid transparent;
            border-bottom:10px solid @primary-color;
            border-left:10px solid transparent;
            position: absolute;
            top:-10px;
            right: 27px;
          }
        }
        &:hover{
          .circleMenu{
            color: @primary-color;
          }
        }
      }
      .circleMenu{
        .flex;
        width: 34px;
        height: 34px;
        .filter(.3s);
        color: #5e5b5b;
        overflow: hidden;
        border-radius: 100%;
        border: 2px solid @v5Bord;
      }
    }
  }
}
.userWrap{
  .dpMenu:before{
    display: none;
  }
}
//下拉菜单
.opMenu{
  position: relative;
  &:hover{
    .dpMenu{
      display: block;
    }
  }
  .dpMenu{
    display: none;
    position: absolute;
    top:65px;
    right: 0;
    background-color: @primary-color;
    color: @black;
    min-width: 170px;
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 0;
    .filter(.3s);
    li{
      a{
        color: @black;
        font-weight: 600;
      }
    }
  }
}
//footer样式
.footer{
  background-color: @black;
  padding: 30px 0 0;
  color: rgba(255,255,255,.6);
  a{
    color: rgba(255,255,255,.6);
    &:hover{
      color: @primary-color;
    }
  }
  .ftTop{
    display: flex;
    .ftBox{
      flex: 1;
      &:first-child{
        padding-right: 20px;
      }
      &:nth-child(2){
        border-right: 1px solid @v5Bord;
        border-left: 1px solid @v5Bord;
        padding: 0 20px;
      }
      &:last-child{
        padding-left: 20px;
      }
      .ftTit{
        margin-bottom: 15px;
      }
      .ftLink{
        display: flex;
        flex-wrap: wrap;
        li{
          list-style: none;
          a{
            padding-right: 15px;
            margin-bottom: 10px;
            display: inline-block;
          }
        }
      }
    }
    .codeBox{
      .flex;
      .code{
        position: relative;
        width: 82px;
        height: 80px;
        text-align: center;
        &:hover{
          .imgWrap{
            opacity: 1;
            visibility: visible;
          }
        }
        .imgWrap{
          position: absolute;
          width: 130px;
          height: 130px;
          background-color: #fff;
          top:-140px;
          left: 50%;
          margin-left: -65px;
          opacity: 0;
          visibility: hidden;
          .flex;
          &:after{
            content: '';
            border-top:10px solid #fff;
            border-right:10px solid transparent;
            border-bottom:none;
            border-left:10px solid transparent;
            position: absolute;
            bottom: -10px;
            left: 50%;
            margin-left: -10px;
          }
        }
        p{
          margin-bottom: 0;
          margin-top: 8px;
        }
        .ftCircle{
          width: 60px;
          height: 60px;
          border-radius: 100%;
          overflow: hidden;
          .flex;
          background-color: #585e68;
          margin-left: 10px;
          color: #fff;
          i{
            font-size: 30px;
          }
        }
      }
    }
  }
  .ftOther{
    padding-top: 15px;
    .flex;
    p{
      padding: 0 20px;
      .icon{
        margin-right: 5px;
      }
    }
  }
}





//二级导航
#sub_nav{
     .logo{
       padding-left:0;
     }
  .navbar-default{
    background-color: #f3f6f8;
    border: none!important;
    box-shadow: 0 4px 4px -3px #d1d1d1;
  }
  .new-search-group{
    position: relative;
    .input-btn{
      border-color: transparent;
      background: transparent;
      padding: 0 10px;
      height: 33px;
      position: absolute;
      right: 0;
       i{
        color: @primary-color;
       }
    }
    .new-search{
      height: 33px;
      border-radius: 3px;
      box-shadow: none;
      width: 250px;
      padding: 5px 10px;
      border: 1px solid @primary-color;
    }
  }
  .dropdown-menu{
    padding: 0;
    & > li > a:hover, & > li > a:focus {
      background-color: @primary-color!important;
    }
  }
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #555;
  border-bottom: 3px solid @primary-color;
  background-color: transparent;
  outline: 0;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #222;
  background-color: transparent;
}

